<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

<?php
$cars = array(
    array("Volvo", 100, 96),
    array("BMW", 80, 78),
    array("Toyota", 110, 110)
);
print_r($cars);

$sites = array(
    "runoob" => array("菜鸟教程", "http://www.runoob.com"),
    "google" => array("谷歌", "https://www.google.com")
);
print_r($sites);
echo "<br>";
include 'menu.php';
echo "<br>";
date_default_timezone_set('PRC'); 
echo date("Y/m/d")."<br>";
echo date("Y.m.d")."<br>";
echo date("Y-m-d");

echo "<br>";
echo "<br>";
echo "<br>";

$file = fopen("test.txt", "r") or exit("文件无法打开");
while(!feof($file)) {
 echo fgetc($file);
};
fclose($file);

echo "<br>";
echo "<br>";
echo "<br>";

?>
</body>
</html>